package com.patent.dao;

import com.patent.domain.po.Patent;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PatentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Patent record);

    int insertSelective(Patent record);

    Patent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Patent record);

    int updateByPrimaryKey(Patent record);

	List<Patent> getPatentInfoByConditions(Map<String,Object> map);

	Patent queryPatentInfoByApplicationNo(String applicationNo);

	List<Patent> getPatentInfoByConditions2(Map<String, Object> map);
}